package com.anhry.app.safety.manage.oa.service;

import java.util.List;

import com.anhry.app.safety.manage.oa.bean.TbOaMail;
import com.anhry.app.safety.manage.oa.bean.TbOaMailUser;
import com.anhry.app.safety.manage.oa.bean.TbOaMailView;
import com.anhry.app.safety.manage.oa.bean.TbOaNotice;
import com.anhry.app.safety.manage.system.bean.TbUser;
import com.anhry.app.safety.util.dao.UtilDao;

public interface MailService {

	public abstract UtilDao getUtilDao();

	public abstract List<TbUser> loadUserList(String userGrade,
			String userUnit, String userDept, String userZws, String keyWord,
			int startRow, int size) throws Exception;

	public abstract int loadMailList(String keyWord, String beginTime,
			String endTime, TbUser user, String isDele, String isRead)
			throws Exception;

	public abstract List<TbOaMailUser> loadMailList(String keyWord,
			String beginTime, String endTime, TbUser user, String isDele,
			String isRead, int startRow, int size) throws Exception;

	public abstract int loadSendMailList(String keyWord, String beginTime,
			String endTime, TbUser user, String isDele) throws Exception;

	public abstract List<TbOaMail> loadSendMailList(String keyWord,
			String beginTime, String endTime, TbUser user, String isDele,
			int startRow, int size) throws Exception;

	public abstract List<TbOaMailView> loadMailDeleList(TbUser user,
			int startRow, int size) throws Exception;

}